package com.kmzx.one.project.config.data;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Project one
 * @Author: carol
 * @Date: 2020/8/12-15:30
 */
@ConfigurationProperties(prefix = "aliyun", ignoreUnknownFields = true)
@Component
public class AliConfig {

    private String expressAddress;
    private String idVerifyAddress;
    private String idVerifyKey;
    private String idVerifyCode;
    private String idVerifySecret;

    public String getExpressAddress() {
        return expressAddress;
    }

    public AliConfig setExpressAddress(String expressAddress) {
        this.expressAddress = expressAddress;
        return this;
    }

    public String getIdVerifyAddress() {
        return idVerifyAddress;
    }

    public AliConfig setIdVerifyAddress(String idVerifyAddress) {
        this.idVerifyAddress = idVerifyAddress;
        return this;
    }

    public String getIdVerifyKey() {
        return idVerifyKey;
    }

    public AliConfig setIdVerifyKey(String idVerifyKey) {
        this.idVerifyKey = idVerifyKey;
        return this;
    }

    public String getIdVerifyCode() {
        return idVerifyCode;
    }

    public AliConfig setIdVerifyCode(String idVerifyCode) {
        this.idVerifyCode = idVerifyCode;
        return this;
    }

    public String getIdVerifySecret() {
        return idVerifySecret;
    }

    public AliConfig setIdVerifySecret(String idVerifySecret) {
        this.idVerifySecret = idVerifySecret;
        return this;
    }
}
